using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for DoanhThuGhiDanhBL
/// </summary>
namespace BusinessLogic 
{
    public class DoanhThuGhiDanhBL 
    {
    	#region Private Variables
		DoanhThuGhiDanhDAL objDoanhThuGhiDanhDAL;
		#endregion
		
        #region Public Constructors
        public DoanhThuGhiDanhBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objDoanhThuGhiDanhDAL=new DoanhThuGhiDanhDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(DoanhThuGhiDanh objDoanhThuGhiDanh)
        {
            return objDoanhThuGhiDanhDAL.Insert(objDoanhThuGhiDanh);
        }

        public int Update(DoanhThuGhiDanh objDoanhThuGhiDanh)
        {
             return objDoanhThuGhiDanhDAL.Update(objDoanhThuGhiDanh);

        }

        public int Delete(DoanhThuGhiDanh objDoanhThuGhiDanh)
        {
             return objDoanhThuGhiDanhDAL.Delete(objDoanhThuGhiDanh);

        }

         public int DeleteAll()
        {
             return objDoanhThuGhiDanhDAL.DeleteAll();
        }

        public DoanhThuGhiDanh Select(DoanhThuGhiDanh objDoanhThuGhiDanh)
        {
            return objDoanhThuGhiDanhDAL.Select(objDoanhThuGhiDanh);
        }

        public ArrayList SelectAllToArray( )
        {
         return objDoanhThuGhiDanhDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objDoanhThuGhiDanhDAL.SelectAll();
        }


     
#endregion          
    
    }

}
